<?php
    namespace home\Model;
    use Think\Model;
    class NotesModel extends Model {
        protected $_validate = array(
              array('name','require','必须输入昵称！'),
              array('content','require','必须输入愿望内容！'),
       );
        
  }
      
    
    
     

